home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / spider3.pov < prev    next >
Encoding:
Text File  |  1992-04-05  |  2.8 KB  |  110 lines

  1. // Persistence of Vision Raytracer
  2. // This data file makes a good starting point for developing tests and
  3. // new data files.  It is also used as the benchmark for the timing tests.
  4. // 3 hours 640 480 @-a  / 33-486
  5. #include "include.inc"
  6.  
  7.  
  8. #declare YourTexture =    /* change to your preference */
  9.     texture {
  10.        Dull
  11.        leopard
  12.        bumps 0.75
  13.        color_map {
  14.         [0.0 0.3 color Black color Black ]
  15.         [0.3 0.5 color Black color Orange]
  16.         [0.5 1.0 color Orange color Yellow]
  17.        }
  18.     }
  19. #include "spider1.inc"
  20.  
  21.  
  22.  
  23. camera {
  24.    location <10  18  -20>
  25.    direction <0.0 0.0  1.0>
  26.    up  <0.0  1.0  0.0>
  27.    right <1.33333 0.0 0.0>
  28.    look_at <0 0 0>
  29.  }
  30.  
  31. // Light source
  32. object { light_source { <-30 50 -15> color White  }}
  33. object { light_source { <30 20 -15> color DimGray  }}
  34.  
  35. object { sphere { <0 0 0> 1000 texture {color DimGray } } }
  36.  
  37. #declare LegPair = composite {
  38.     composite { LegThing }
  39.     composite { LegThing rotate <0 180 0>}
  40. }
  41.  
  42. #declare Spider = composite {
  43.     composite { LegPair rotate <0  15 0>}
  44.     composite { LegPair rotate <0  30 0>}
  45.     composite { LegPair rotate <0 -30 0>}
  46.     composite { LegPair rotate <0 -15 0>}
  47.  
  48.     object { quadric { Sphere}           // Head / Abdoment
  49.         scale <3 2 3>
  50.         translate <0 5 0>
  51.         color Cyan
  52.         texture {
  53.             YourTexture
  54. //            bumps 0.75
  55.             scale<.25 .75 .25>
  56.         }
  57.     }
  58.  
  59.     object { quadric { Sphere}           // Thorax (rear-end)
  60.         scale <6 3 6>
  61.         rotate <-40 0 0>
  62.         translate <0 5 8>
  63.         color Red
  64.         texture {
  65.             YourTexture
  66.             scale <0.175 1 0.175>      // don't know if this really works!
  67. //            bumps 0.75
  68.             scale<.75 .75 .75>
  69.         }
  70.      }
  71.     object {                              // Mandables
  72.         quadric { Sphere  scale <1.5 0.75 1.5> }
  73.         clipped_by {
  74.             quadric { Sphere  inverse scale <1.25 1 1.25> translate <0 0.15 -0.30>}
  75.         }
  76.         translate <0 6 -4>
  77.         color Blue
  78.         texture {           // Still using YourTexture colormap
  79.             Chrome_Metal
  80.             phong 1 phong_size 200
  81.         }
  82.     }
  83.     object {                              // Eyes
  84.         union {
  85.             quadric { Sphere scale <1 1 1> translate <-0.65 0 0> }
  86.             quadric { Sphere scale <1 1 1> translate <+0.65 0 0> }
  87.         }
  88.         translate <0 6.5 -2.5>
  89.         color Yellow
  90.         texture {
  91.             YourTexture
  92.             granite
  93.             phong 0.5 phong_size 200
  94.         }
  95.     }
  96. }
  97.  
  98. composite { Spider rotate <0 -15 0> translate <0 0 -5> }
  99. composite { Spider rotate <0 180 0>  translate <0 0 -15>}
  100.  
  101.  
  102. object { plane { <0 1 0> 0 }
  103.     texture {
  104.         YourTexture
  105.         granite
  106.         scale <5 5 5>
  107.     }
  108. }
  109.  
  110.